﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using AssetManagementSystem.Model;
using AssetManagementSystem.Utils;
using AssetManagementSystem.Utils.Events;

namespace AssetManagementSystem.View.IView {
    interface IHoldView {
        void SetHoldList(List<Hold> holds);
        void ShowMessage(string message);

        //Events to retrieve data
        event EventHandler Holds_LoadAll;
        event EventHandler<SearchEventArgs> Holds_Find;

        //Events to store/update data
        event EventHandler<HoldEventArgs> Hold_Create;

        //delete data
        event EventHandler<HoldEventArgs> Hold_Delete;
    }
}
